home *** CD-ROM | disk | FTP | other *** search
/ Champak 130 / Vol 130.iso / games / hummer.swf / scripts / DefineSprite_333 / frame_15 / DoAction.as
Encoding:
Text File  |  2007-01-08  |  23.7 KB  |  564 lines

  1. var ┬º\x01┬º = 457;
  2. loop0:
  3. while(true)
  4. {
  5.    if(eval("\x01") == 457)
  6.    {
  7.       set("\x01",eval("\x01") - 116);
  8.       ┬º┬ºpush(true);
  9.       continue;
  10.    }
  11.    if(eval("\x01") == 142)
  12.    {
  13.       set("\x01",eval("\x01") - 40);
  14.       if(┬º┬ºpop())
  15.       {
  16.          set("\x01",eval("\x01") - 34);
  17.       }
  18.       continue;
  19.    }
  20.    if(eval("\x01") == 341)
  21.    {
  22.       set("\x01",eval("\x01") + 317);
  23.       if(┬º┬ºpop())
  24.       {
  25.          set("\x01",eval("\x01") + 158);
  26.       }
  27.       continue;
  28.    }
  29.    if(eval("\x01") == 102)
  30.    {
  31.       set("\x01",eval("\x01") - 34);
  32.       break;
  33.    }
  34.    if(eval("\x01") == 473)
  35.    {
  36.       set("\x01",eval("\x01") - 105);
  37.       if(┬º┬ºpop())
  38.       {
  39.          set("\x01",eval("\x01") - 215);
  40.       }
  41.       continue;
  42.    }
  43.    if(eval("\x01") == 816)
  44.    {
  45.       set("\x01",eval("\x01") - 674);
  46.       ┬º┬ºpush(true);
  47.       continue;
  48.    }
  49.    if(eval("\x01") == 500)
  50.    {
  51.       set("\x01",eval("\x01") + 215);
  52.       ┬º┬ºpush(mbord(┬º┬ºpop()));
  53.       break;
  54.    }
  55.    if(eval("\x01") == 658)
  56.    {
  57.       set("\x01",eval("\x01") + 158);
  58.       ifFrameLoaded(┬º┬ºpop())
  59.       {
  60.       }
  61.    }
  62.    if(eval("\x01") == 715)
  63.    {
  64.       set("\x01",eval("\x01") - 242);
  65.       ┬º┬ºpush(true);
  66.       continue;
  67.    }
  68.    if(eval("\x01") == 68)
  69.    {
  70.       set("\x01",eval("\x01") + 549);
  71.       ┬º┬ºpush(true);
  72.       continue;
  73.    }
  74.    if(eval("\x01") == 617)
  75.    {
  76.       set("\x01",eval("\x01") - 117);
  77.       if(┬º┬ºpop())
  78.       {
  79.          set("\x01",eval("\x01") + 215);
  80.       }
  81.       continue;
  82.    }
  83.    if(eval("\x01") != 247)
  84.    {
  85.       if(eval("\x01") == 368)
  86.       {
  87.          set("\x01",eval("\x01") - 215);
  88.          stop();
  89.          break;
  90.       }
  91.       if(eval("\x01") == 153)
  92.       {
  93.          set("\x01",eval("\x01") + 550);
  94.          ┬º┬ºpush(true);
  95.       }
  96.       else
  97.       {
  98.          if(eval("\x01") != 703)
  99.          {
  100.             if(eval("\x01") == 548)
  101.             {
  102.                set("\x01",eval("\x01") - 303);
  103.                nextBtn.btn.onRollOver = function()
  104.                {
  105.                   _root.soundArc2.playSound("mouseOver2",0);
  106.                };
  107.                nextBtn.btn.onPress = function()
  108.                {
  109.                   _root.soundArc2.playSound("mouseClick",0);
  110.                   play();
  111.                };
  112.                nextBtn.btn2.onRollOver = function()
  113.                {
  114.                   _root.soundArc2.playSound("mouseOver2",0);
  115.                };
  116.                nextBtn.btn2.onPress = function()
  117.                {
  118.                   _root.soundArc2.playSound("mouseClick",0);
  119.                   getUrl("http://www.gamezhero.com/?utm_campaign=hrc&utm_source=hrc&utm_medium=more_free_games3", "_blank");
  120.                };
  121.                btn0.onRollOver = function()
  122.                {
  123.                   _root.soundArc2.playSound("mouseOver2",0);
  124.                };
  125.                btn0.onPress = function()
  126.                {
  127.                   _root.soundArc2.playSound("mouseClick",0);
  128.                   getUrl("http://www.gamezhero.com/topscore/hummerrallychampionship/?utm_campaign=hrc&utm_source=hrc&utm_medium=top_score", "_blank");
  129.                };
  130.                btn1.onRollOver = function()
  131.                {
  132.                   _root.soundArc2.playSound("mouseOver2",0);
  133.                };
  134.                btn1.onPress = function()
  135.                {
  136.                   _root.soundArc2.playSound("mouseClick",0);
  137.                   getUrl("http://www.gamezhero.com/topscore/hummerrallychampionship_newyork/?utm_campaign=hrc&utm_source=hrc&utm_medium=top_score_newyork", "_blank");
  138.                };
  139.                btn2.onRollOver = function()
  140.                {
  141.                   _root.soundArc2.playSound("mouseOver2",0);
  142.                };
  143.                btn2.onPress = function()
  144.                {
  145.                   _root.soundArc2.playSound("mouseClick",0);
  146.                   getUrl("http://www.gamezhero.com/topscore/hummerrallychampionship_manaco/?utm_campaign=hrc&utm_source=hrc&utm_medium=top_score_manaco", "_blank");
  147.                };
  148.                btn3.onRollOver = function()
  149.                {
  150.                   _root.soundArc2.playSound("mouseOver2",0);
  151.                };
  152.                btn3.onPress = function()
  153.                {
  154.                   _root.soundArc2.playSound("mouseClick",0);
  155.                   getUrl("http://www.gamezhero.com/topscore/hummerrallychampionship_london/?utm_campaign=hrc&utm_source=hrc&utm_medium=top_score_london", "_blank");
  156.                };
  157.                btn4.onRollOver = function()
  158.                {
  159.                   _root.soundArc2.playSound("mouseOver2",0);
  160.                };
  161.                btn4.onPress = function()
  162.                {
  163.                   _root.soundArc2.playSound("mouseClick",0);
  164.                   getUrl("http://www.gamezhero.com/topscore/hummerrallychampionship_moscow/?utm_campaign=hrc&utm_source=hrc&utm_medium=top_score_moscow", "_blank");
  165.                };
  166.                btn5.onRollOver = function()
  167.                {
  168.                   _root.soundArc2.playSound("mouseOver2",0);
  169.                };
  170.                btn5.onPress = function()
  171.                {
  172.                   _root.soundArc2.playSound("mouseClick",0);
  173.                   getUrl("http://www.gamezhero.com/topscore/hummerrallychampionship_tokyo/?utm_campaign=hrc&utm_source=hrc&utm_medium=top_score_tokyo", "_blank");
  174.                };
  175.                stop();
  176.             }
  177.             break;
  178.          }
  179.          set("\x01",eval("\x01") - 456);
  180.          if(┬º┬ºpop())
  181.          {
  182.             set("\x01",eval("\x01") + 301);
  183.          }
  184.       }
  185.       continue;
  186.    }
  187.    set("\x01",eval("\x01") + 301);
  188.    loop1:
  189.    while(true)
  190.    {
  191.       set(┬º┬ºpop(),eval("\x01") - 171);
  192.       if(┬º┬ºpop())
  193.       {
  194.          set("\x01",eval("\x01") - 287);
  195.       }
  196.       while(true)
  197.       {
  198.          if(eval("\x01") == 705)
  199.          {
  200.             set("\x01",eval("\x01") - 549);
  201.             ┬º┬ºpush(true);
  202.          }
  203.          else if(eval("\x01") == 775)
  204.          {
  205.             set("\x01",eval("\x01") + 170);
  206.             ┬º┬ºpush(true);
  207.          }
  208.          else if(eval("\x01") == 910)
  209.          {
  210.             set("\x01",eval("\x01") - 202);
  211.             ┬º┬ºpush(true);
  212.          }
  213.          else
  214.          {
  215.             if(eval("\x01") == 528)
  216.             {
  217.                set("\x01",eval("\x01") + 247);
  218.                ┬º┬ºpush(┬º┬ºpop() / ┬º┬ºpop());
  219.                break loop0;
  220.             }
  221.             if(eval("\x01") == 218)
  222.             {
  223.                set("\x01",eval("\x01") + 188);
  224.                break loop0;
  225.             }
  226.             if(eval("\x01") == 406)
  227.             {
  228.                set("\x01",eval("\x01") - 319);
  229.                ┬º┬ºpush(true);
  230.             }
  231.             else
  232.             {
  233.                if(eval("\x01") == 774)
  234.                {
  235.                   break loop1;
  236.                }
  237.                if(eval("\x01") == 156)
  238.                {
  239.                   set("\x01",eval("\x01") + 62);
  240.                   if(┬º┬ºpop())
  241.                   {
  242.                      set("\x01",eval("\x01") + 188);
  243.                   }
  244.                }
  245.                else
  246.                {
  247.                   if(eval("\x01") == 202)
  248.                   {
  249.                      set("\x01",eval("\x01") + 112);
  250.                      break loop0;
  251.                   }
  252.                   if(eval("\x01") == 354)
  253.                   {
  254.                      set("\x01",eval("\x01") + 556);
  255.                      ┬º┬ºpush(mbord(┬º┬ºpop() * ┬º┬ºpop()));
  256.                      break loop0;
  257.                   }
  258.                   if(eval("\x01") == 709)
  259.                   {
  260.                      set("\x01",eval("\x01") - 408);
  261.                      ┬º┬ºpush(true);
  262.                   }
  263.                   else if(eval("\x01") == 487)
  264.                   {
  265.                      set("\x01",eval("\x01") + 76);
  266.                      ┬º┬ºpush(true);
  267.                   }
  268.                   else if(eval("\x01") == 301)
  269.                   {
  270.                      set("\x01",eval("\x01") - 99);
  271.                      if(┬º┬ºpop())
  272.                      {
  273.                         set("\x01",eval("\x01") + 112);
  274.                      }
  275.                   }
  276.                   else
  277.                   {
  278.                      if(eval("\x01") == 945)
  279.                      {
  280.                         break;
  281.                      }
  282.                      if(eval("\x01") == 563)
  283.                      {
  284.                         set("\x01",eval("\x01") - 542);
  285.                         if(┬º┬ºpop())
  286.                         {
  287.                            set("\x01",eval("\x01") + 688);
  288.                         }
  289.                      }
  290.                      else if(eval("\x01") == 87)
  291.                      {
  292.                         set("\x01",eval("\x01") + 267);
  293.                         if(┬º┬ºpop())
  294.                         {
  295.                            set("\x01",eval("\x01") + 556);
  296.                         }
  297.                      }
  298.                      else
  299.                      {
  300.                         if(eval("\x01") != 708)
  301.                         {
  302.                            if(eval("\x01") == 21)
  303.                            {
  304.                               set("\x01",eval("\x01") + 688);
  305.                               ┬º┬ºpush(delete ┬º┬ºpop());
  306.                               break loop0;
  307.                            }
  308.                            if(eval("\x01") == 314)
  309.                            {
  310.                               set("\x01",eval("\x01") + 617);
  311.                               stop();
  312.                               var indx = Number(Number(_root.gameInfo.currentGame.level) + 1);
  313.                               var indx2 = Number(Number(_root.gameInfo.currentGame.carType));
  314.                               var indx3 = Number(Number(_root.gameInfo.currentGame.carType2));
  315.                               trace(">>>>>>>>>>>>>>>>>> " + _root.gameInfo.currentGame.carType);
  316.                               beginPos = this["cn_" + indx]._x;
  317.                               dx2 = 60;
  318.                               x0 = 70;
  319.                               x0_2 = 295;
  320.                               go = function()
  321.                               {
  322.                                  getUrl("http://gamezhero.com/online-games/sports-games/hummerrallychampionship-arcade.html?utm_campaign=hrc&utm_source=hrc&utm_medium=play_lock_level_2in1", "_blank");
  323.                               };
  324.                               lock1.onPress = go;
  325.                               lock2.onPress = go;
  326.                               lock3.onPress = go;
  327.                               lock4.onPress = go;
  328.                               lock5.onPress = go;
  329.                               if(String(_url).indexOf("files.gamezhero.com/online/hummerrallychampionship/hummerrallychampionship.swf") == -1)
  330.                               {
  331.                                  lock1._visible = 0;
  332.                                  lock2._visible = 0;
  333.                                  lock3._visible = 1;
  334.                                  lock4._visible = 1;
  335.                                  lock5._visible = 1;
  336.                               }
  337.                               else
  338.                               {
  339.                                  lock1._visible = 0;
  340.                                  lock2._visible = 0;
  341.                                  lock3._visible = 0;
  342.                                  lock4._visible = 0;
  343.                                  lock5._visible = 0;
  344.                               }
  345.                               cn_1.onRollOver = function()
  346.                               {
  347.                                  _root.soundArc2.playSound("mouseOver2",0);
  348.                               };
  349.                               cn_1.onPress = function()
  350.                               {
  351.                                  _root.soundArc2.playSound("mouseClick",0);
  352.                                  _root.gameInfo.currentGame.level = 0;
  353.                                  indx = Number(Number(_root.gameInfo.currentGame.level) + 1);
  354.                                  startBegun(indx);
  355.                                  pointUpdate(indx);
  356.                               };
  357.                               cn_2.onRollOver = function()
  358.                               {
  359.                                  _root.soundArc2.playSound("mouseOver2",0);
  360.                               };
  361.                               cn_2.onPress = function()
  362.                               {
  363.                                  _root.soundArc2.playSound("mouseClick",0);
  364.                                  _root.gameInfo.currentGame.level = 1;
  365.                                  indx = Number(Number(_root.gameInfo.currentGame.level) + 1);
  366.                                  startBegun(indx);
  367.                                  pointUpdate(indx);
  368.                               };
  369.                               cn_3.onRollOver = function()
  370.                               {
  371.                                  _root.soundArc2.playSound("mouseOver2",0);
  372.                               };
  373.                               cn_3.onPress = function()
  374.                               {
  375.                                  _root.soundArc2.playSound("mouseClick",0);
  376.                                  _root.gameInfo.currentGame.level = 2;
  377.                                  indx = Number(Number(_root.gameInfo.currentGame.level) + 1);
  378.                                  startBegun(indx);
  379.                                  pointUpdate(indx);
  380.                               };
  381.                               cn_4.onRollOver = function()
  382.                               {
  383.                                  _root.soundArc2.playSound("mouseOver2",0);
  384.                               };
  385.                               cn_4.onPress = function()
  386.                               {
  387.                                  _root.soundArc2.playSound("mouseClick",0);
  388.                                  _root.gameInfo.currentGame.level = 3;
  389.                                  indx = Number(Number(_root.gameInfo.currentGame.level) + 1);
  390.                                  startBegun(indx);
  391.                                  pointUpdate(indx);
  392.                               };
  393.                               cn_5.onRollOver = function()
  394.                               {
  395.                                  _root.soundArc2.playSound("mouseOver2",0);
  396.                               };
  397.                               cn_5.onPress = function()
  398.                               {
  399.                                  _root.soundArc2.playSound("mouseClick",0);
  400.                                  _root.gameInfo.currentGame.level = 4;
  401.                                  indx = Number(Number(_root.gameInfo.currentGame.level) + 1);
  402.                                  startBegun(indx);
  403.                                  pointUpdate(indx);
  404.                               };
  405.                               startBegun = function(indx)
  406.                               {
  407.                                  beginPos = this["cn_" + indx]._x;
  408.                                  begun.onEnterFrame = function()
  409.                                  {
  410.                                     begun._x -= (begun._x - beginPos) / 5;
  411.                                     if(Math.abs(begun._x - beginPos) < 0.5)
  412.                                     {
  413.                                        delete begun.onEnterFrame;
  414.                                     }
  415.                                  };
  416.                               };
  417.                               startBegun2 = function(indx2)
  418.                               {
  419.                                  beginPos2 = x0 + dx2 * indx2;
  420.                                  begun2.onEnterFrame = function()
  421.                                  {
  422.                                     begun2._x -= (begun2._x - beginPos2) / 5;
  423.                                     if(Math.abs(begun2._x - beginPos2) < 0.5)
  424.                                     {
  425.                                        delete begun2.onEnterFrame;
  426.                                     }
  427.                                  };
  428.                               };
  429.                               startBegun3 = function(indx3)
  430.                               {
  431.                                  beginPos3 = x0_2 + dx2 * indx3;
  432.                                  begun3.onEnterFrame = function()
  433.                                  {
  434.                                     begun3._x -= (begun3._x - beginPos3) / 5;
  435.                                     if(Math.abs(begun3._x - beginPos3) < 0.5)
  436.                                     {
  437.                                        delete begun3.onEnterFrame;
  438.                                     }
  439.                                  };
  440.                               };
  441.                               startBegun(indx);
  442.                               startBegun2(indx2);
  443.                               startBegun3(indx3);
  444.                               pointUpdate(indx);
  445.                               action;
  446.                               nextBtn.btn.onRollOver = function()
  447.                               {
  448.                                  _root.soundArc2.playSound("mouseOver2",0);
  449.                               };
  450.                               nextBtn.btn.onPress = function()
  451.                               {
  452.                                  _root.soundArc2.playSound("mouseClick",0);
  453.                                  delete begun.onEnterFrame;
  454.                                  action = 0;
  455.                                  play();
  456.                               };
  457.                               nextBtn.btn2.onRollOver = function()
  458.                               {
  459.                                  _root.soundArc2.playSound("mouseOver2",0);
  460.                               };
  461.                               nextBtn.btn2.onPress = function()
  462.                               {
  463.                                  _root.soundArc2.playSound("mouseClick",0);
  464.                                  delete begun.onEnterFrame;
  465.                                  action = 1;
  466.                                  play();
  467.                               };
  468.                               player1.car1.onRollOver = function()
  469.                               {
  470.                                  _root.soundArc2.playSound("mouseOver2",0);
  471.                               };
  472.                               player1.car1.onPress = function()
  473.                               {
  474.                                  _root.soundArc2.playSound("mouseClick",0);
  475.                                  indx2 = 0;
  476.                                  _root.gameInfo.currentGame.carType = 0;
  477.                                  _level0.localTopScore.data.carType = _root.gameInfo.currentGame.carType;
  478.                                  startBegun2(indx2);
  479.                               };
  480.                               addr700:
  481.                               player1.car2.onRollOver = function()
  482.                               {
  483.                                  _root.soundArc2.playSound("mouseOver2",0);
  484.                               };
  485.                               eval(┬º┬ºconstant(54))[┬º┬ºconstant(59)][┬º┬ºconstant(19)] = function()
  486.                               {
  487.                                  _root[┬º┬ºconstant(31)][┬º┬ºconstant(32)](┬º┬ºconstant(33),0);
  488.                                  playSound = 1;
  489.                                  set(┬º┬ºconstant(45),eval(┬º┬ºconstant(15)) + eval(┬º┬ºconstant(14)) * (playSound - 1));
  490.                                  _root.onRollOver.mouseOver2.onPress = 1;
  491.                                  eval(┬º┬ºconstant(56))[┬º┬ºconstant(57)][┬º┬ºconstant(58)].onPress = _root.onRollOver.mouseOver2.onPress;
  492.                                  ┬º┬ºconstant(44)(playSound);
  493.                               };
  494.                               eval(┬º┬ºconstant(54))[┬º┬ºconstant(60)][┬º┬ºconstant(29)] = function()
  495.                               {
  496.                                  _root[┬º┬ºconstant(31)][┬º┬ºconstant(32)](┬º┬ºconstant(30),0);
  497.                               };
  498.                               eval(┬º┬ºconstant(54))[┬º┬ºconstant(60)][┬º┬ºconstant(19)] = function()
  499.                               {
  500.                                  _root[┬º┬ºconstant(31)][┬º┬ºconstant(32)](┬º┬ºconstant(33),0);
  501.                                  playSound = 2;
  502.                                  _root.onRollOver.mouseOver2.onPress = 2;
  503.                                  eval(┬º┬ºconstant(56))[┬º┬ºconstant(57)][┬º┬ºconstant(58)].onPress = _root.onRollOver.mouseOver2.onPress;
  504.                                  ┬º┬ºconstant(44)(playSound);
  505.                               };
  506.                               eval(┬º┬ºconstant(61))[┬º┬ºconstant(55)][┬º┬ºconstant(29)] = function()
  507.                               {
  508.                                  _root[┬º┬ºconstant(31)][┬º┬ºconstant(32)](┬º┬ºconstant(30),0);
  509.                               };
  510.                               eval(┬º┬ºconstant(61))[┬º┬ºconstant(55)][┬º┬ºconstant(19)] = function()
  511.                               {
  512.                                  _root[┬º┬ºconstant(31)][┬º┬ºconstant(32)](┬º┬ºconstant(33),0);
  513.                                  mouseClick = 0;
  514.                                  _root.onRollOver.mouseOver2.btn2 = 0;
  515.                                  eval(┬º┬ºconstant(56))[┬º┬ºconstant(57)][┬º┬ºconstant(58)].btn2 = _root.onRollOver.mouseOver2.btn2;
  516.                                  ┬º┬ºconstant(47)(mouseClick);
  517.                               };
  518.                               eval(┬º┬ºconstant(61))[┬º┬ºconstant(59)][┬º┬ºconstant(29)] = function()
  519.                               {
  520.                                  _root[┬º┬ºconstant(31)][┬º┬ºconstant(32)](┬º┬ºconstant(30),0);
  521.                               };
  522.                               eval(┬º┬ºconstant(61))[┬º┬ºconstant(59)][┬º┬ºconstant(19)] = function()
  523.                               {
  524.                                  _root[┬º┬ºconstant(31)][┬º┬ºconstant(32)](┬º┬ºconstant(33),0);
  525.                                  mouseClick = 1;
  526.                                  set(┬º┬ºconstant(45),eval(┬º┬ºconstant(15)) + eval(┬º┬ºconstant(14)) * (playSound - 1));
  527.                                  _root.onRollOver.mouseOver2.btn2 = 1;
  528.                                  eval(┬º┬ºconstant(56))[┬º┬ºconstant(57)][┬º┬ºconstant(58)].btn2 = _root.onRollOver.mouseOver2.btn2;
  529.                                  ┬º┬ºconstant(47)(mouseClick);
  530.                               };
  531.                               eval(┬º┬ºconstant(61))[┬º┬ºconstant(60)][┬º┬ºconstant(29)] = function()
  532.                               {
  533.                                  _root[┬º┬ºconstant(31)][┬º┬ºconstant(32)](┬º┬ºconstant(30),0);
  534.                               };
  535.                               eval(┬º┬ºconstant(61))[┬º┬ºconstant(60)][┬º┬ºconstant(19)] = function()
  536.                               {
  537.                                  _root[┬º┬ºconstant(31)][┬º┬ºconstant(32)](┬º┬ºconstant(33),0);
  538.                                  mouseClick = 2;
  539.                                  _root.onRollOver.mouseOver2.btn2 = 2;
  540.                                  eval(┬º┬ºconstant(56))[┬º┬ºconstant(57)][┬º┬ºconstant(58)].btn2 = _root.onRollOver.mouseOver2.btn2;
  541.                                  ┬º┬ºconstant(47)(mouseClick);
  542.                               };
  543.                               eval(┬º┬ºconstant(54))[┬º┬ºconstant(62)][┬º┬ºconstant(63)](0);
  544.                               eval(┬º┬ºconstant(61))[┬º┬ºconstant(62)][┬º┬ºconstant(63)](1);
  545.                            }
  546.                            break loop0;
  547.                         }
  548.                         set("\x01",eval("\x01") - 180);
  549.                         if(┬º┬ºpop())
  550.                         {
  551.                            set("\x01",eval("\x01") + 247);
  552.                         }
  553.                      }
  554.                   }
  555.                }
  556.             }
  557.          }
  558.       }
  559.    }
  560.    set("\x01",eval("\x01") - 287);
  561.    ┬º┬ºpop();
  562.    ┬º┬ºgoto(addr700);
  563. }
  564.